<script>
	export default {
		onLaunch: function() {
            const workTime = uni.getStorageSync('workTime');
            if (!workTime) {
                uni.setStorage({
                    key:'workTime',
                    data:30
                });
            }
            const restTime = uni.getStorageSync('restTime');
            if (!restTime) {
                uni.setStorage({
                    key:'restTime',
                    data:5
                });
            }
		},
		onShow: function() {

		},
		onHide: function() {
		}
	}
</script>

<style>
/* #ifndef APP-PLUS-NVUE */
/* uni.css - 通用组件、模板样式库，可以当作一套ui库应用 */
@import './common/uni.css';
@import '@/static/customicons.css';
/* H5 兼容 pc 所需 */
/* #ifdef H5 */
@media screen and (min-width: 768px) {
    body {
        overflow-y: scroll;
    }
}

/* 顶栏通栏样式 */
/* .uni-top-window {
    left: 0;
    right: 0;
} */

	/*每个页面公共css */
    page {
        height: 100%;
        background: #ffffff;
    }

    .noData {
        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .noData-image {
        display: block;
        width: 50px;
        height: 50px;
        align-items: center;
        margin-bottom: 10px;
    }

    .noData-text {
        color: #c4c4c4;
        font-size: 13px;
        letter-spacing: 2px;
    }
</style>
